ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.Direct3D11 Namespace / Device1 Class / OpenSharedResource1 Method / OpenSharedResource1<T>(String,SharedResourceFlags) Method

In This Topic
    OpenSharedResource1<T>(String,SharedResourceFlags) Method
    In This Topic
    Gives a device access to a shared resource that is referenced by name and that was created on a different device. You must have previously created the resource as shared and specified that it uses NT handles (that is, you set the ResourceMiscFlags.SharedNthandle flag).
    Syntax
    'Declaration
     
    Public Overloads Function OpenSharedResource1(Of T As ComObject)( _
       ByVal name As System.String, _
       ByVal desiredAccess As SharedResourceFlags _
    ) As T
    public T OpenSharedResource1<T>( 
       System.string name,
       SharedResourceFlags desiredAccess
    )
    where T: ComObject

    Parameters

    name
    desiredAccess

    Type Parameters

    T
    See Also